All Packages Class Hierarchy This Package Previous Next Index
Class quicktime.qd.QDFont
java.lang.Object
|
+----quicktime.qd.QDFont
- public final class QDFont
- extends Object
- implements QuickTimeLib
This class provides basic services for translating font information from
Java fonts to the font information that QuickTime requires.
-
QDFont()
-
-
getFNum(String)
- The GetFNum procedure gets the font family ID for a specified font family name.
-
getFontName(int)
- The GetFontName procedure gets the name of a font family that has a specified family ID number.
QDFont
public QDFont()
getFontName
public static final String getFontName(int familyID)
- The GetFontName procedure gets the name of a font family that has a specified family ID number.
QuickDraw::GetFontName()
- Parameters:
- the - familyID of the font you want to retrieve the name for.
- Returns:
- the name of the font. If the font specified in the familyID parameter does not exist, theName contains an empty string.
getFNum
public static final int getFNum(String theName)
- The GetFNum procedure gets the font family ID for a specified font family name.
QuickDraw::GetFNum()
- Parameters:
- theName - The font family name
- Returns:
- the familyID that corresponds to the supplied font family name. If the font specified in the parameter theName does not exist, familyID contains 0.
All Packages Class Hierarchy This Package Previous Next Index